import dynamic from 'next/dynamic';

// 动态导入组件，关闭SSR
const FlowEditor = dynamic(() => import('./FlowCanvas'), {
  ssr: false,
});

export default function CanvasPage({ setCopilotVisible }) {
  return <FlowEditor setCopilotVisible={setCopilotVisible} />;
}